procedure LineTo(h, v : integer);

Draws a line from the current point to the point specified by h,v in a data window or printer port.

Also see:  MoveTo